import axios from 'axios'

function login(data) {
    return axios.post('/login', data)
}

function regis(data) {
    return axios.post('/regis', data)
}
export {
    login,
    regis
}